package com.crm.model.vo.customerManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ Author ：pym
 * @ Date   ：2021/1/18 15:59
 */
@Data
public class CustomerOrderBackMoneyVO {

    private String productOrderId;  //订单id

    private String orderNumber;  //订单编号

    private String accountId; //创建人id

    private String userName; //用户名称

    private String companyId;  //分公司id

    private String companyName;  //公司名称

    private String productOrderDetailId;  //订单产品明细id

    private String orderBackMoneyId;  //主键id

    private String finishOrderProductNum;

    private String productName; //产品名称

    private BigDecimal productOriginalPrice;  //原价

    private BigDecimal productUnitPrice;  //单价

    private BigDecimal productMemberPrice;  //会员价

    private BigDecimal productPreferentialPrice;  //优惠价

    private BigDecimal productFinalPrice;  //成交价

    private Integer backStatus;  //退款状态 0审核中 1未通过 2已退款

    private Integer commissionStatus;  //提成状态  0提成未扣减 1提成已扣减

    private BigDecimal serviceMoney;  //服务费

    private BigDecimal applyBackMoney;  //申请退款金额

    private BigDecimal backMoney; //实际退款金额

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTm;  //申请日期

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date updateTm;  //审核日期

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date backDate; //退款时间

    private String sqbz;  //申请退款备注

    private String shbz; //审核备注

    private String reviewer;  //审核人

    /**
     * 退款状态
     * @Author renshaorong
     * @Date 2021/8/27 
     */
    private String backStatusStr;

    private Integer adoptSituation;  //通过情况 通过情况 5分总 6客服  7销总 8网络部 4财务 9普通用户

    private String examineUserName;  //审核人

    private Integer refundType;

    /*private String fzExamineUserName;  //分总审核用户名称

    private String kfExamineUserName;  //客服审核用户名称

    private String xzExamineUserName;  //销总审核用户名称

    private String wlbExamineUserName;  //网络部用户名称

    private String cwExamineUserName;  //财务审核用户名称*/

}
